-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS Clean-up - Move Classes and Rename Packages #660
TS Clean-up - Move Classes and Rename Packages #660
Conversation
cc @jsmrcka |
f264296
to
d560fc7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also could you double-check the following modules:
- http/jaxrs:
io.quarkus.ts.security.core
? - http/http-static:
io.quarkus.ts.http
->io.quarkus.ts.http.static
- http/reactive-routes:
io.quarkus.ts
->io.quarkus.ts.http.reactiveroutes
- http/server-undertow:
io.quarkus.ts.filters
->io.quarkus.ts.http.undertow.filters
(aplies to all packages) - http/vertx-web-client:
io.quarkus.qe.vertx
->io.quarkus.ts.http.vertx
(applies to all packages) - infinispan-client:
io.quarkus.ts.infinispan
->io.quarkus.ts.http.infinispan
...and so on (in general try to add the module name to the packages definition)
io.quarkus.ts.MODULE_NAME.SCENARIO_NAME
websockets/websockets-client/src/test/java/io/quarkus/websockets/client/WebSocketsClientIT.java
Outdated
Show resolved
Hide resolved
...quarkus-websockets/src/test/java/io/quarkus/ts/websockets/producer/WebSocketsProducerIT.java
Outdated
Show resolved
Hide resolved
d560fc7
to
d5191f6
Compare
I didn't get that far as I tried to keep a commit at reasonable length. If though changes are insignificant, it already changes 105 files in some way. Sure, I'll address this in this commit and get back to you, thanks for suggestion |
d5705c8
to
34906ae
Compare
|
34906ae
to
c2a6aca
Compare
@pjgg I have run a tests before and after every refactoring in order to determine whether I brought in any new failures. The failures can be linked to the failures in Daily runs and IMHO should be resolved separately (a big commit as this is asking for a merge hell). |
Please note I also updated PR description. There is other work on clean up that should be done in a separate PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cosmetic changes
http/graphql-telemetry/src/test/java/io/quarkus/ts/http/graphql/telemetry/TelemetryIT.java
Outdated
Show resolved
Hide resolved
http/jaxrs-reactive/src/test/java/io/quarkus/ts/http/jaxrs/reactive/HttpCachingResourceIT.java
Outdated
Show resolved
Hide resolved
...java/io/quarkus/ts/http/reactiveroutes/validation/ValidationOnRequestBodyRouteHandlerIT.java
Outdated
Show resolved
Hide resolved
...java/io/quarkus/ts/http/reactiveroutes/validation/ValidationOnRequestBodyRouteHandlerIT.java
Outdated
Show resolved
Hide resolved
...ava/io/quarkus/ts/http/reactiveroutes/validation/ValidationOnRequestParamRouteHandlerIT.java
Outdated
Show resolved
Hide resolved
...st/java/io/quarkus/ts/http/reactiveroutes/validation/ValidationOnResponseRouteHandlerIT.java
Outdated
Show resolved
Hide resolved
...ke-getting-started/src/test/java/io/quarkus/ts/javaee/gettingstarted/FallbackResourceIT.java
Outdated
Show resolved
Hide resolved
c2a6aca
to
0a41e25
Compare
@pjgg you're absolutely right, I reverted unnecessary changes. The feedback has been very much appreciated. |
0a41e25
to
73e912e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixed typo, thnx |
58d6620
to
57b2c12
Compare
We should use latest Keycloak version. Upstream docs says `In Keycloak 17 the default distribution is now powered by Quarkus, while the legacy WildFly powered distribution will still be around until June 2022 we highly recommend starting the migration as soon as possible.` Using Keycloak 13.0.1 caused test failures of DevModeKeycloakDevServiceUserExperienceIT
Tracing operation name is registered as `/graphql` and but the test used operation name `graphql`, thus no tracing were found and the test failed.
Kafka errors are not related to this PR. |
@michalvavrik just fyi: |
@@ -101,7 +101,7 @@ public void getTimeoutWhenResponseItsTooSlow() { | |||
@Test | |||
public void endpointShouldTrace() { | |||
final int pageLimit = 50; | |||
final String expectedOperationName = "trace/ping"; | |||
final String expectedOperationName = "/trace/ping"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pjgg this line can't be backported for only 2.8.0.CR1 + is affected.
Summary
As a part of the Test Suite clean up, classes has been moved to a packages named according to
io.quarkus.ts.MODULE_NAME.SCENARIO_NAME
. Exact rules how to translateMODULE_NAME
to java package name has been relaxed in order to make the package names readable. That's compliant with the existing state that either merge module name to one worded package name, or join module names by dots.Also fixed tests
ChuckNorrisResourceIT#endpointShouldTrace
andChuckNorrisResourceIT#httpClientShouldHaveHisOwnSpan
as Jagger servicevertx-web-client
is tracing operating called/trace/ping
, however tests were looking fortrace/ping
operation and thus failed. Similarly,io.quarkus.ts.http.graphql.telemetry.TelemetryIT#verifyTelemetry
operation name has been changed to/graphql
, which make the test pass.Keycloak version used in
DevModeKeycloakDevServiceUserExperienceIT
is upgraded to 18.0. as upstream docs saysIn Keycloak 17 the default distribution is now powered by Quarkus, while the legacy WildFly powered distribution will still be around until June 2022 we highly recommend starting the migration as soon as possible.
and using Keycloak 13.0.1 caused test failures ofDevModeKeycloakDevServiceUserExperienceIT
.Please select the relevant options.
Checklist: